package com.ipzoe.act.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ipzoe.common.annotation.Excel;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ipzoe.common.core.domain.BaseEntity;

/**
 * 活动对象 act_activity
 * 
 * @author eric
 * @date 2020-08-17
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("act_activity")
public class Activity implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    private String nameZhtw;

    /** 开始时间 */
    @Excel(name = "开始时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginTime;

    /** 报名截止时间 */
    @Excel(name = "报名截止时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    /** 活动城市 */
    @Excel(name = "活动城市")
    private Long cityCode;

    /** 活动权限 */
    @Excel(name = "活动权限")
    private Integer permission;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Integer status;

    /** logo图片 */
    private String logoUrl;

    /** 活动简介 */
    private String introduction;

    private String introductionZhtw;

    /** 活动详细 */
    private String info;

    private String infoZhtw;

    /** 浏览次数 */
    private Integer pvNum;

    /** 报名人数 */
    private Integer signupNum;

    /** $column.columnComment */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /** $column.columnComment */
    private String createBy;

    /** $column.columnComment */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    /** $column.columnComment */
    private String updateBy;

    /** 是否删除 */
    private Integer delFlag;
}
